package admin

import (
	"github.com/gin-gonic/gin"
	"new_club_recruitment/api"
)

type ExcelRouter struct{}

func (e *ExcelRouter) InitExcelRouter(Router *gin.RouterGroup) {
	excelRouter := Router.Group("adminexcel")
	exaExcelApi := api.ApiGroupApp.AdminApiGroup.ExcelApi
	{
		excelRouter.POST("exportExcel", exaExcelApi.ExportExcel)          // 导出Excel
		excelRouter.GET("downloadTemplate", exaExcelApi.DownloadTemplate) // 下载模板文件
	}
}
